package Others.DesignPattern.BuilderPattern.Pattern.Object;



public abstract class PersonBuilder {

    public People product;

    //如果有工具，那工具要放在抽象类的无参构造中
    public PersonBuilder(){
        product = new People();
    }

    //这个里面只是条件--用来构造实体类的条件

    public abstract void buildHead();
    public abstract void buildBody();
    public abstract void buildArmLeft();
    public abstract void buildArmRight();
    public abstract void buildLegLeft();
    public abstract void buildLegRight();
    public People getResult()
    {
        return product;
    }

}
